home *** CD-ROM | disk | FTP | other *** search
- package javax.swing;
-
- import java.awt.event.ActionEvent;
- import java.awt.event.ActionListener;
-
- public class ToolTipManager$insideTimerAction implements ActionListener {
- // $FF: synthetic field
- final ToolTipManager this$0;
-
- protected ToolTipManager$insideTimerAction(ToolTipManager var1) {
- this.this$0 = var1;
- }
-
- public void actionPerformed(ActionEvent var1) {
- if (this.this$0.insideComponent != null && this.this$0.insideComponent.isShowing()) {
- if (this.this$0.toolTipText == null && this.this$0.mouseEvent != null) {
- this.this$0.toolTipText = this.this$0.insideComponent.getToolTipText(this.this$0.mouseEvent);
- this.this$0.preferredLocation = this.this$0.insideComponent.getToolTipLocation(this.this$0.mouseEvent);
- }
-
- if (this.this$0.toolTipText != null) {
- this.this$0.showImmediately = true;
- this.this$0.showTipWindow();
- } else {
- this.this$0.insideComponent = null;
- this.this$0.toolTipText = null;
- this.this$0.preferredLocation = null;
- this.this$0.mouseEvent = null;
- this.this$0.hideTipWindow();
- }
- }
-
- }
- }
-